package com.lesso.lzh.sunflower.infra.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.lesso.lzh.sunflower.model.Device;
import com.lesso.lzh.sunflower.pojo.dto.DeviceQueryDTO;
import com.lesso.lzh.sunflower.pojo.vo.DeviceVO;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

/**
 * <p>
 * 设备信息 Mapper 接口
 * </p>
 *
 * @author zqz
 * @since 2025-07-04
 */
public interface DeviceMapper extends BaseMapper<Device> {

    Device updateSelective(Device device);

    List<DeviceVO> selectPageList(RowBounds rowBounds, DeviceQueryDTO dto);
}